package com.zuimei.zuimei.activities;

import android.os.Handler;
import android.widget.FrameLayout;

import com.zuimei.zuimei.R;
import com.zuimei.zuimei.base.BaseActivity;

import butterknife.Bind;

public class WelcomeActivity extends BaseActivity {

    @Bind(R.id.actionbar)
    FrameLayout actionbar;
    private Handler handler = new Handler();

    @Override
    public int getLayoutId() {
        return R.layout.activity_welcome;
    }
        //dsfafdafdfsdf
    @Override
    protected void init() {
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                startNewActivity(HomeActivity.class);
                overridePendingTransition(R.anim.activity_in_right, R.anim.activity_out_left);
                finish();
            }
        }, 1000);
    }
}
